<?php get_header(); ?>	

<div id="inner-body">
			<div itemscope itemtype="http://schema.org/Article" id="left">
				<h1 itemprop="name"><?php the_title()?></h1>
				<div itemprop="description"><?php echo $post->post_content; ?>
					<div id="contactlink">
					<?php if(post_custom("contactlink"))
					{
						//ga('send', 'event', 'page', 'load','ad');
						?>
						<a  href="<?php echo home_url('lienhe')?>" onclick="ga('send', 'event', 'linkclick', 'contact');" target="_blank">Liên hệ đặt hàng</a>
						
						
						<?php 
					}
					?>
					</div>
				</div>
				<div class="clearfix" style="height:20px;"></div>
				<!-- facebook plugin -->
				<div>
				<div class="fb-like" data-href="<?php the_permalink();?>" data-layout="button_count" data-action="like" data-show-faces="false" data-share="false"></div>&nbsp;&nbsp;&nbsp;	
				<div style="float:left;"><g:plusone size="medium" annotation="bubble"></g:plusone></div>
					
				</div>
				
				<?php comments_template(); ?>
	
			</div>
			<div id="right">
				<h4>Tin tức khác</h4>
				<div class="right_block_content">
		
		<?php related_posts();?>
						
													<!-- button 
	<a href="#" title="All best sellers" class="button_large">All best sellers</a>
	 -->
		</div>
			</div>
			<div class="clearfix"></div>
		</div>
		<script>
		//google
		  (function() {
		    var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
		    po.src = 'https://apis.google.com/js/plusone.js';
		    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
		  })();
		//facebook
		(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=446256772142592";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
		 
		</script>
		<?php get_footer(); ?>